package com.example.Home;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Window;
import android.widget.Button;

import com.example.fresh.MainActivity;
import com.example.fresh.R;

public class BackActivity  extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_reback);

        Button send = (Button)findViewById(R.id.send);
        send.setOnClickListener(v -> {
            Intent intent = new Intent(BackActivity.this, MainActivity.class);
            startActivity(intent);
        });
    }
}
